const Router = require("koa-router")

const enterRouter = new Router({prefix:"/enter"})

const { create,list,remove } = require("../controller/enter.controller")

// 新建入库 
enterRouter.put("/",create)
// 查询入库 
enterRouter.get("/",list)
// 删除入库 
enterRouter.delete("/",remove)


module.exports = enterRouter